FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD kitty-admin-1.0.0.jar app.jar
ENV JAVA_OPTS="-server -XX:+PrintGCDetails -Xms512m  -Xmx512m -Xverify:none  -XX:+UseConcMarkSweepGC -XX:+UseParNewGC "
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar